pass data from blade-laravel to vue

102

pass data from blade/laravel to vue -

<example :userId="{{ Auth::user()->id }}"></example>
//for objects
<example :userId="{{ json_encode(Auth::user()) }}"></example>

Comments

Submit
0 Comments